package com.kong.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.kong.dao.UserDao;
import com.kong.pojo.User;
import com.kong.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author yang2013
 * @data 2020/10/18 16:12
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public User findUserByUsername(String username) {
        return userDao.findByUsername(username);
    }
}
